package com.black.platform.position.service.handler;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.black.common.web.PageQuery;
import com.black.platform.position.po.Position;
import com.black.platform.position.vo.PositionRoleVo;

import java.util.List;

public interface PositionHandlerService {

    IPage<Position> search(PageQuery<Position> searchVo);

    List<Position> getAllPositions();

    PositionRoleVo getPositionRoleVoByPositionId(Long id);

    boolean saveOrUpdate(PositionRoleVo positionRoleVo);
}
